package com.liy.supercloud.server.gateway.config;

import com.liy.supercloud.server.gateway.filter.MyGlobalFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GatewayConfig {

    @Bean
    public MyGlobalFilter tokenFilter() {
        return new MyGlobalFilter();
    }
}
